Initial

since version 2.9.7

Make some letters appear in a larger font at the beginning of the paragraph.

Child elements

Value

Parent elements

Case, ForAll, Loop, Otherwise, Paragraph, Until, While

Attributes

color (text, optional, since version 2.9.0)

Set the color of the initial. Defaults to black.

fontfamily (text, optional)

Choose the font family. Only »Regular« shape is used at the moment.

padding-bottom (length, optional, since version 4.1.25)

Insert space bottom of the initial.

padding-left (length, optional)

Insert space left of the initial.

padding-right (length, optional)

Insert space right of the initial.

padding-top (length, optional, since version 4.1.25)

Insert space top of the initial.

Example

<Textblock>
  <Paragraph>
    <Initial fontfamily="Large" padding-right="2pt">
      <Value select="'A'"/>
    </Initial>
    <Value>certain king had a beautiful garden,
    and in the garden stood a tree which bore golden
    apples.</Value>
  </Paragraph>
</Textblock>
ref initial en

Info

Make sure you set the font face for the surrounding Paragraph to get the spacing right (it defaults to text).

See also